<?php
/* @var $this TvshowController */
/* @var $model Tvshow */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'tvshow-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note"><?php echo Yii::t('base','Fields with <span class="required">*</span> are required.');?></p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'tv_name'); ?>
		<?php echo $form->textField($model,'tv_name',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'tv_name'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'is_limit'); ?>
		<?php echo $form->dropDownlist($model,'is_limit',array(0=>Yii::t('base','No'),1=>Yii::t('base','Yes')));?>
		<?php echo $form->error($model,'is_limit'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'sort'); ?>
		<?php echo $form->textField($model,'sort'); ?>
		<?php echo $form->error($model,'sort'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? Yii::t('base','Create') : Yii::t('base','Save')); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->